package com.zb;

import com.zb.service.PageService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
public class ItemApplication {
    public static void main(String[] args) {

        ConfigurableApplicationContext run = SpringApplication.run(ItemApplication.class, args);
        PageService bean = run.getBean(PageService.class);
        bean.createPage("100000003145");
        bean.createPage("100000004580");
        bean.createPage("100000006163");
    }

}

